import type { DescItem } from "@/components/Description";

// 详情配置
export const detailSchema: DescItem[] = [
  {
    label: "医疗机构",
    field: "orgName",
    span: 1,
    show: (data) => true,
  },
  {
    label: "检查机构",
    field: "checkOrgName",
    span: 1,
  },
  {
    label: "详细地址",
    field: "address",
    span: 2,
  },
  {
    label: "预约日期",
    field: "checkDate",
    span: 1,
  },
  {
    label: "预约人",
    field: "name",
    span: 1,
  },
  {
    label: "身份证号",
    field: "cardId",
    span: 1,
    contentMinWidth:300
  },
  {
    label: "联系电话",
    field: "mobile",
    span: 1,
    render(val, data) {
      return "自定义数据";
    },
  },
];
